package com.tianjian.myblog.service;

import com.tianjian.myblog.model.Tag;
import com.tianjian.myblog.model.Type;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface TagService {

    Tag saveTag(Tag tag);

    Tag findOneTag(Long id);

    Tag findByName(String name);

    Page<Tag> findTag(Pageable pageable);

    Tag updateTag(Long id,Tag tag);

    void deleteTag(Long id);



}
